package com.tuanzi.loan.business.repository.miniApps.articleLibrary;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tuanzi.loan.business.entity.family.ProductInfo;
import com.tuanzi.loan.business.entity.miniApps.articleLibrary.MiniAppsArticleRelations;
import com.tuanzi.loan.business.repository.family.custom.ProductInfoRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

public interface MiniAppsArticleRelationsRepository extends JPAAuditRepository<MiniAppsArticleRelations, Long> {
	
	List<MiniAppsArticleRelations> findByArticleIdAndRelationId(Long articleId, Integer relationId);
	
	List<MiniAppsArticleRelations> findByArticleId(Long articleId);
}
